#include "Vector.h"
#include <iostream>
#include <stdlib.h>
#include <ctime>
using namespace std;
int main(int argc,char *argv[]){
  int N;
  int SPARE_CAPCITY;
  double rnd;
  double start,end;
  cin >> N >> SPARE_CAPCITY;
  srand((unsigned)time(0));//time(0) return the current system time in seconds
  rnd = (int)rand()/RAND_MAX * (N - 1) + 1;//generate uniform distribution on 1-N

  Vector<int> vec(0);//generate empty Vector
  start=clock();//when we run push_back we get the algorithm start time
  for(int i = 1;i<=rnd;i++){
    vec.push_back(1);//run rnd times push_back
    // if(i==rnd)
      // delete [] vec;
  }
  end=clock();
  cout<<"Time runs in:"<<(end-start)<<endl;
  return 0;
}
